import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router);


export default new Router({
  routes: [

    {
      path: '/',
      name: 'login',
      meta: {
        title: '登录注册'
      },
      component: () => import('pages/login'),
    },
    {
      path: '/trade',
      name: 'trade',
      meta: {
        title: '交易'
      },
      component: () => import('pages/trade'),
    },
    {
      path: '/deposid',
      name: 'deposid',
      meta: {
        title: '入金'
      },
      component: () => import('pages/deposid'),
    },

    {
      path: '/index',
      name: 'index',
      meta: {
        title: '首頁'
      },
      component: () => import('pages/index'),
    },

    {
      path: '/forget',
      name: 'forget',
      meta: {
        title: '忘记密码'
      },
      component: () => import('pages/forget'),
    },
    {
      path: '/respass',
      name: 'respass',
      meta: {
        title: '忘记密码'
      },
      component: () => import('pages/respass'),
    },
    {
      path: '/money',
      name: 'money',
      meta: {
        title: '資產'
      },
      component: () => import('pages/money'),
    },
    {
      path: '/performer',
      name: '/performer',
      meta: {
        title: '交易'
      },
      component: () => import('pages/performer'),
    },
    {
      path: '/my',
      name: 'my',
      meta: {
        title: '我的'
      },
      component: () => import('pages/my'),
    },
    {
      path: '/kine',
      name: 'kine',
      meta: {
        title: 'k线图'
      },
      component: () => import('pages/kine'),
    },
    {
      path: '/transfe',
      name: 'transfe',
      meta: {
        title: '賬戶劃轉'
      },
      component: () => import('pages/transfe'),
    },
    {
      path: '/orderlist',
      name: 'orderlist',
      meta: {
        title: '资金'
      },
      component: () => import('pages/orderlist'),
    },
    {
      path: '/userwith',
      name: 'userwith',
      meta: {
        title: '資金流水'
      },
      component: () => import('pages/userwith' +
      ''),
    },
    {
      path: '/my/sign',
      name: 'sign',
      meta: {
        title: '簽約'
      },
      component: () => import('pages/my/sign'),
    },
    {
      path: '/transfe/withdraw',
      name: 'withdraw',
      meta: {
        title: '提幣'
      },
      component: () => import('pages/transfe/withdraw'),
    },
    {
      path: '/transfe/payment',
      name: 'payment',
      meta: {
        title: '賬戶充值'
      },
      component: () => import('pages/transfe/payment'),
    },
  ]
})

